export const bankCard = (val) => {
	let num = parseInt(val)
	num = num + ''
	return num.replace(/(?<=\d{4})\d+(?=\d{4})/, " **** **** ");
}

export const phoneNumber = (val) => {
	let num = parseInt(val)
	num = num + ''
	return num.replace(/(?<=\d{3})\d+(?=\d{4})/, " **** ");
}